import {defineStore} from 'pinia'

export const useApiStore = defineStore('api', {
    state: () => ({
        apiList: []
    }),
    actions: {
        SET_API(api: any) {
            this.apiList = api;
        },
    },
    persist: {
        storage: localStorage,
        paths: ['apiList']
    }
})